function [changeRatio] = ChangeRatio(data1,data2)
    data1 = rgb2gray(data1);
    data2 = rgb2gray(data2);
    change = data1-data2;
    changeRatio = nnz(change)/(size(change,1)*size(change,2));